import request from '@/utils/request'

// 查询地区列表
export function listCityApi(data) {
  return request.get('/system/city/list', data)
}

// 查询地区详细
export function infoCityApi(cityId) {
  return request.get('/system/city/info', { id: cityId })
}

// 新增地区
export function addCityApi(data) {
  return request.post('/system/city/add', data)
}

// 修改地区
export function editCityApi(data) {
  return request.post('/system/city/edit', data)
}

// 删除地区
export function delCityApi(cityId) {
  return request.post('/system/city/delete', { id: cityId })
}
